﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using EZCRS.HCMS.Entity;
using EZCRS.HCMS.Data;

namespace EZCRS.HCMS.SqlClient
{
    public class sql_hcrs_tauserinfo
    {
        /// <summary>
        /// 返回一条信息
        /// </summary>
        /// <param name="id"></param>
        /// <returns></returns>
        public HCRS_TAUserInfo getitem(int id)
        {
            try
            {
                return ExecSql.GetTableList<HCRS_TAUserInfo>("select * from HCRS_TAUserInfo where userid=" + id.ToString() + "")[0];
            }
            catch { return null; }
        }
    }
}
